package org.gwt.pluginframework.common;

import java.io.Serializable;
import java.util.Map;

import org.gwt.pluginframework.common.event.IEventDispatcher;
import org.gwt.pluginframework.common.exception.IExceptionHandler;

/**
 * Class which creates, stores, manages plug-in. Handles and dispatches events.
 * Exception handling.
 * 
 * @author mszymanski
 */
public interface IPluginManager extends IPluginsRegister, IEventDispatcher, 
		IExceptionHandler, Serializable {
	/**
	 * Starts manager which triggers plug-in life cycle.
	 */
	void run();
	
	/**
	 * Sets additional configuration - properties.
	 * For future use.
	 * 
	 * @param props
	 */
	void setConfiguration(Map<String, String> props);
}
